﻿using aop_cache_Entity;
using Project.Caching;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace aop_cache_Data
{
    public class WebManageUsersRepository :
        BackgroundRepository<WebManageUsers>,
        IWebManageUsersRepository
    {
        public void InsertWebManageUsersData(WebManageUsers entity)
        {
            base.Insert(entity);
        }
        public IQueryable<WebManageUsers> GetWebManageUsersData()
        {
            return base.GetModel().Where(i => i.Status == 1);
        }
        public WebManageUsers GetWebManageUsersEntity(int id)
        {
            return base.Find(id);
        }
        public void UpdateWebManageUsers(WebManageUsers entity)
        {
            base.Update(entity);
        }
    }
}
